<?php
if($gClient->IsValidated())
{
	$drawform = true;
}
else
{
	$err = "Access denied";
	$drawform = false;
};
if($drawform)
{
?>

<h1>Portal Administration Home</h1>

<?php	}else echo($err); ?>